home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3400 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  785 b 

  1. Path: iesd.auc.dk!news
  2. From: Dennis <dkc@tuborg.nork.auc.dk>
  3. Newsgroups: comp.lang.c
  4. Subject: Reading a byte on LPT1
  5. Date: Sun, 28 Jan 1996 19:41:03 +0100
  6. Organization: Math & CS at Aalborg University
  7. Message-ID: <310BC33F.63FD@tuborg.nork.auc.dk>
  8. NNTP-Posting-Host: tuborg.nork.auc.dk
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. NNTP-Posting-User: root
  13. X-Mailer: Mozilla 2.0b5 (Win95; I)
  14.  
  15. I have problems reading a byte or word from LPT on 0378 hex. I use 
  16. the asssembler command in ax,dx, and running DOS there is no problem, 
  17. but running a DOS program under Windows gives trouble. Running an 
  18. EASY Win program under Windows also gives trouble. Sometimes i read 
  19. want and sometimes i read crap. I am using Borland's C++ 4.5 compiler.
  20.